package com.yztc.orangeentertainment.ui.main.findfragment.findmodel;

import com.yztc.orangeentertainment.bean.findbean.FindBean;
import com.yztc.orangeentertainment.bean.findbean.HotSearchStarBean;
import com.yztc.orangeentertainment.bean.findbean.SearchBean;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

/**
 * Created by My on 2016/10/6.
 */
public interface RetrofitService {
    @GET("findmore/{type}?")
    Call<FindBean> getNewAll(@Path("type") String type, @QueryMap Map<String, String> map);

    @GET("search/{type}?")
    Call<SearchBean> getSearchAll(@Path("type") String type, @QueryMap Map<String, String> map);

    @GET("search/list/{type}?")
    Call<HotSearchStarBean> getHotSearchStarAll(@Path("type") String type, @QueryMap Map<String,
            String> map);
}
